import { ENUM_DATA_SCOPE } from "@/enum/system.enum";
import { IQuery, TableConfig } from "@/interface/IAxios";

export const table = ref<TableConfig<any>>({
  rowKey: "categoryId",
  data: [],
  loading: false,
  keys: []
});

// 查询参数
export const query = ref<IQuery>({
  pageNum: 1,
  pageSize: 10,
  total: 0,
  isAsc: "desc",
  scope: ENUM_DATA_SCOPE.THIS_SHOP
});

// 已选中的元素数组
export const keys = ref<string[]>([]);
